package org.platform.executor.knowledge;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd10008.EventModifyRequestParam;
import org.platform.mo.csmo.cmd10008.EventModifyResponseParam;
import org.platform.service.knowledge.EventServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/4/16
 */
@Service
public class ModifyEventExecutor implements IMicProviderServiceExecutor<EventModifyRequestParam, EventModifyResponseParam> {
    @Autowired
    EventServiceImpl service;

    @Override
    public EventModifyResponseParam doExecute(EventModifyRequestParam requestParam) {
        return service.modifyEvent(requestParam);
    }

}
